package com.kldy8.kldyw.find.script.bean;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/9/19.
 */
public class Levy
{
    public String levy_id;
    public String name;
    public String imgbooth;
    public String image;
    public String category;
    public String url;
    public String price;

    public static Levy resolution(JSONObject jsonObject)
    {
        if (jsonObject == null)
        {
            return  null;
        }
        Levy m_new = new Levy();
        m_new.levy_id = jsonObject.optString("levy_id");
        m_new.name = jsonObject.optString("name");
        m_new.imgbooth = jsonObject.optString("imgbooth");
        m_new.image = jsonObject.optString("image");
        m_new.category = jsonObject.optString("category");
        m_new.url = jsonObject.optString("url");
        m_new.price = jsonObject.optString("price");
        return m_new;
    }
}
